*{
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
}

header{
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo{
    width: 25%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contactos{
    width: 50%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contactos a{
    text-decoration: none;
    color: black;
    margin-top: 3%;
}

.contactos p{
    margin-top: 5%;
    text-decoration: none;
}

.contactos img{
    width: 40px;
    height: 40px;
}

.telefono{
    width: 33%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.telefono a{
	width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.movil a{
	width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.correo a{
	width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.telefono:hover{
    transform: scale(1.05);
}

.movil{
    width: 33%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.movil:hover{
    transform: scale(1.05);
}

.correo{
    width: 33%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.correo:hover{
    transform: scale(1.05);
}

.redes{
    width: 25%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.redes a{

    margin-left: 5%;

}

.redes a:hover{
    transform: scale(1.05);
}

.redes a img{

    width: 40px;
    height: 40px;

}

nav{
    width: 100%;
    height: 80px;
    background-color: rgba(83,97,100,255);
    display: flex;
    align-items: center;
    justify-content: center;
}

nav a{
    text-decoration: none;
    color: white;
    margin-left: 5%;
    font-size: 17px;
    font-weight: bold;
}

nav a:hover{
    color: white;
    text-decoration: underline;
    transform: scale(1.05);
    padding: 10px;
}

nav li{
    margin-left: 5%;
    list-style-type: none;
    width: 150px;
}

nav li:hover .dropdown-content {
    display: flex;
    flex-direction: column;
    width: 270px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.677);
    transform: scale(1.05);
    padding: 10px;
}

.dropdown-content a{
    color: white;
    margin: 5px;
}



.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.servicios{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servicios hr{
    width: 90%;
    height: 5px;
    background-color: rgb(0, 0, 255);
    border: none;
}

.servicios .centro{
    width: 90%;
    display: flex;
    align-items: center;
    background-image: none;
    border-radius: 20px;
    justify-content: center;
    height: 50%;
    margin-top: 3%;
}

.centro .contenido{
    width: 60%;
    padding-left: 5%;
    padding-right: 5%;
}

.centro .contenido h3{
    color: #90e200;
    text-decoration: underline;
    font-weight: bold;
}

.centro .contenido h1{
    color: rgba(83,97,100,255);
}

.centro .contenido p{
    color: rgba(83,97,100,255);
    font-weight: bold;
}

.centro .contenido button{
    border-radius: 20px;
    background-color: blue;
    border: none;
    width: 100%;
    height: 50px;
}

.centro .contenido button a{
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.centro .contenido button:hover{
    transform: scale(1.05);
    padding: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.centro .imagen{
    width: 40%;
}

.centro .imagen img{
    width: 500px;
    height: 300px;
    border-radius: 20px;
}

.centropatronato{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5%;
}

.centropatronato .centroimagenes{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.columna img{
    width: 70%; 
    height:100%;
}

.centroimagenes .columna{
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.centropatronato h1{
    color: rgb(0, 0, 151);
}

.imagenes{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2%;
}

.imagenes img:nth-child(1){
    width: 300px;
    height: 70px;
}

.imagenes img:nth-child(2){
    width: 80px;
    height: 60px;
}

.imagenes img:nth-child(3){
    width: 250px;
    height: 50px;
}

.imagenes img:nth-child(4){
    width: 200px;
    height: 120px;
}

.final{
    width: 100%;
    background-color: rgba(83,97,100,255);
    display: flex;
    align-items: center;
    justify-content: center;
}

.final .columna{
    width: 30%;
    margin: 2%;
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.final .columna img{
    width: 220px;
    height: 80px; 
}

.final .columna a{
    text-decoration: none;
    color: white;
    margin: 3%; 
}

.final .columna a:hover{
    transform: scale(1.05);
    padding: 5px;
    color: aqua;
}

.final .columna h3{
    color: #90e200;
    margin-bottom: 5%;
}

.final .columna .telefono{
    width: 50%; 
    height: 20%;
    margin-top: 5%;
}

.final .columna .movil{
    width: 50%; 
    height: 20%;
    margin-top: 5%;
}

.final .columna .correo{
    width: 50%; 
    height: 20%;
    margin-top: 5%;
}

.final .columna .redes{
    width: 100%;
    justify-content: left;
}

footer{
    display: flex;
    justify-content: center;
    align-items: center;
}

footer p{
    font-size: 17px;
    margin: 1%;
}

@media (min-width: 300px) and (max-width: 400px){

    .contactos img{
        width: 20px;
        height: 20px;
    }

    header{
        height: 80px;
    }

    header .logo{
        width: 20%;
        padding-left: 0;
        justify-content: left;
        position: relative;
        left: -20px;
    }

    header .contactos{
        width: 30%;
    }

    header .redes{
        width: 30%;
        padding-left: 0;
        justify-content: right;
        position: relative;
        top: -5px;
        right: -20px;
    }

    header .redes a{
        width: 20px;
        height: 20px;
    }

    header .redes a img{
        width: 20px;
        height: 20px;
    }

    header .logo img{
        width: 60px;
        height: 25px;
        left: -100px;
    }

    nav{
        height: 60px;
    }

    nav a{
        width: 10%;
        font-size: 6px;
        margin-left: 5%;
    }

    nav li{
        margin-left: 5%;
        list-style-type: none;
        width: 50px;
    }

    .centro .contenido{
        width: 100%;
    }

    footer p{
        text-align: center;
    }

    .imagenes img{
        width: 20%;
        height: 10%;
    }

    .columna .redes{
        flex-direction: column;
    }

    .ocultar {
        display: none;
      }

    .contactos {
        width: 40%;
    }

    .redes{
        width: 40%;
    }
    .imagenes img:nth-child(1){
        width: 100px;
        height: 30px;
    }

    .imagenes img:nth-child(2){
        width: 40px;
        height: 40px;
    }

    .imagenes img:nth-child(3){
        width: 120px;
        height: 30px;
    }

    .imagenes img:nth-child(4){
        width: 60px;
        height: 50px;
    }

    .final{
        flex-direction: column;
    }

    .final .columna{
        width: 80%;
    }

    .final .columna .telefono{
        width: 80%;
    }

    .final .columna .movil{
        width: 80%;
    }

    .final .columna .correo{
        width: 80%;
    }

    .final .columna img{
        width: 80px;
        height: 35px; 
    }

    .final .columna .redes{
        flex-direction: row;
    }
}

@media (min-width: 400px) and (max-width: 500px){

    .sobrenosotros .centro .contenido p{
        font-size: 13px;
    }


    .contactos img{
        width: 20px;
        height: 20px;
    }

    header{
        height: 80px;
    }

    header .logo{
        width: 20%;
        padding-left: 0;
        justify-content: left;
        position: relative;
        left: -20px;
    }

    header .contactos{
        width: 30%;
    }

    header .redes{
        width: 30%;
        padding-left: 0;
        justify-content: right;
        position: relative;
        top: -5px;
        right: -20px;
    }

    header .redes a{
        width: 20px;
        height: 20px;
    }

    header .redes a img{
        width: 20px;
        height: 20px;
    }

    header .logo img{
        width: 60px;
        height: 25px;
        left: -100px;
    }

    nav{
        height: 60px;
    }

    nav a{
        width: 10%;
        font-size: 6px;
        margin-left: 5%;
    }

    nav li{
        margin-left: 5%;
        list-style-type: none;
        width: 50px;
    }

    footer p{
        text-align: center;
    }

    .columna .redes{
        flex-direction: column;
    }

    .ocultar {
        display: none;
      }

    .contactos {
        width: 40%;
    }

    .redes{
        width: 40%;
    }

    .centro .contenido{
        width: 100%;
    }

    .final{
        flex-direction: column;
    }

    .final .columna{
        width: 80%;
    }

    .final .columna .telefono{
        width: 80%;
    }

    .final .columna .movil{
        width: 80%;
    }

    .final .columna .correo{
        width: 80%;
    }

    .final .columna img{
        width: 80px;
        height: 35px; 
    }

    .final .columna .redes{
        flex-direction: row;
    }

    .imagenes img{
        margin: 10px;
    }

    .imagenes img:nth-child(1){
        width: 100px;
        height: 30px;
    }

    .imagenes img:nth-child(2){
        width: 40px;
        height: 40px;
    }

    .imagenes img:nth-child(3){
        width: 120px;
        height: 30px;
    }

    .imagenes img:nth-child(4){
        width: 60px;
        height: 50px;
    }
}

@media (min-width: 500px) and (max-width: 600px){

    .contactos img{
        width: 20px;
        height: 20px;
    }

    header{
        height: 80px;
    }

    header .logo{
        width: 20%;
        padding-left: 0;
        justify-content: left;
        position: relative;
        left: -20px;
    }

    header .contactos{
        width: 30%;
    }

    header .redes{
        width: 30%;
        padding-left: 0;
        justify-content: right;
        position: relative;
        top: -5px;
        right: -20px;
    }

    header .redes a{
        width: 20px;
        height: 20px;
    }

    header .redes a img{
        width: 10px;
        height: 10px;
    }

    header .logo img{
        width: 60px;
        height: 25px;
        left: -100px;
    }

    nav{
        height: 60px;
    }

    nav a{
        width: 10%;
        font-size: 6px;
        margin-left: 5%;
    }

    nav li{
        margin-left: 5%;
        list-style-type: none;
        width: 50px;
    }

    footer p{
        text-align: center;
    }

    .imagenes img{
        width: 20%;
        height: 10%;
    }

    .columna .redes{
        flex-direction: column;
    }

    .ocultar {
        display: none;
      }

    .contactos {
        width: 40%;
    }

    .redes{
        width: 40%;
    }

    .centro .contenido{
        width: 100%;
    }

    .final{
        flex-direction: column;
    }

    .final .columna{
        width: 80%;
    }

    .final .columna .telefono{
        width: 80%;
    }

    .final .columna .movil{
        width: 80%;
    }

    .final .columna .correo{
        width: 80%;
    }

    .final .columna img{
        width: 80px;
        height: 35px; 
    }

    .final .columna .redes{
        flex-direction: row;
    }

    .imagenes img{
        margin: 10px;
    }

    .imagenes img:nth-child(1){
        width:150px;
        height: 50px;
    }

    .imagenes img:nth-child(2){
        width: 70px;
        height: 60px;
    }

    .imagenes img:nth-child(3){
        width: 150px;
        height: 30px;
    }

    .imagenes img:nth-child(4){
        width: 100px;
        height: 70px;
    }
}


@media (min-width: 600px) and (max-width: 800px){

    nav a{
        width: 15%;
        font-size: 9px;
    }

    .ocultar {
        display: none;
      }

    .contactos {
        width: 40%;
    }

    .redes{
        width: 30%;
    }

    .centro .contenido{
        width: 100%;
    }

    .final .columna .telefono{
        width: 100%;;
    }

    .final .columna .movil{
        width: 100%;;
    }

    .final .columna .correo{
        width: 100%;
    }

    .imagenes img{
        margin: 10px;
    }

    .imagenes img:nth-child(1){
        width: 150px;
        height: 50px;
    }

    .imagenes img:nth-child(2){
        width: 80px;
        height: 60px;
    }

    .imagenes img:nth-child(3){
        width: 250px;
        height: 50px;
    }

    .imagenes img:nth-child(4){
        width: 150px;
        height: 100px;
    }
}

@media (min-width: 800px) and (max-width: 1000px){

    nav a{
        width: 20%;
        font-size: 15px;
    }

    .ocultar {
        display: none;
      }

    .contactos {
        width: 40%;
    }

    .redes{
        width: 30%;
    }

    .centro .contenido{
        width: 100%;
    }

    .imagenes img{
        margin: 10px;
    }

    .imagenes img:nth-child(1){
        width: 300px;
        height: 50px;
    }

    .imagenes img:nth-child(2){
        width: 80px;
        height: 60px;
    }

    .imagenes img:nth-child(3){
        width: 250px;
        height: 50px;
    }

    .imagenes img:nth-child(4){
        width: 200px;
        height: 100px;
    }
}

@media (min-width: 1000px) and (max-width: 1050px){

    nav a{
        width: 20%;
        font-size: 15px;
    }

    nav li{
        width: 170px;
    }

    .contactos {
        width: 50%;
    }

    .contactos .telefono{
        width: 35%;
    }

    .contactos .movil{
        width: 35%;
    }

    .contactos .correo{
        width: 30%;
    }

    .redes{
        width: 30%;
    }

    .centro .imagen img{
        width: 300px;
        height: 200px;
        border-radius: 20px;
    }

    .final .columna .telefono{
        width: 100%;
    }

    .final .columna .movil{
        width: 100%;
    }

    .final .columna .correo{
        width: 100%;
    }

    .imagenes img{
        margin: 10px;
    }

    .imagenes img:nth-child(1){
        width: 300px;
        height: 70px;
    }

    .imagenes img:nth-child(2){
        width: 80px;
        height: 60px;
    }

    .imagenes img:nth-child(3){
        width: 250px;
        height: 50px;
    }

    .imagenes img:nth-child(4){
        width: 200px;
        height: 120px;
    }
}



@media (min-width: 1050px) and (max-width: 1200px){

    nav a{
        width: 20%;
        font-size: 15px;
    }

    nav li{
        width: 170px;
    }

    .contactos {
        width: 40%;
    }

    .redes{
        width: 30%;
    }

    .sobrenosotros{
        margin-top: 2%; ;
    }

    .sobrenosotros .centro .contenido{
        width: 80%;
    }

    .final .columna .telefono{
        width: 100%;
    }

    .final .columna .movil{
        width: 100%;
    }

    .final .columna .correo{
        width: 100%;
    }

    .imagenes img{
        margin: 10px;
    }

    .imagenes img:nth-child(1){
        width: 300px;
        height: 70px;
    }

    .imagenes img:nth-child(2){
        width: 80px;
        height: 60px;
    }

    .imagenes img:nth-child(3){
        width: 250px;
        height: 50px;
    }

    .imagenes img:nth-child(4){
        width: 200px;
        height: 120px;
    }
}

@media (min-width: 1200px) and (max-width: 1400px){

    nav a{
        width: 20%;
        font-size: 15px;
    }

    nav li{
        width: 170px;
    }   

    .contactos {
        width: 40%;
    }

    .redes{
        width: 30%;
    }

    .sobrenosotros{
        margin-top: 2%; ;
    }

    .sobrenosotros .centro .contenido{
        width: 80%;
    }

    .final .columna .telefono{
        width: 100%;
    }

    .final .columna .movil{
        width: 100%;
    }

    .final .columna .correo{
        width: 100%;
    }

    .imagenes img{
        margin: 10px;
    }

    .imagenes img:nth-child(1){
        width: 300px;
        height: 70px;
    }

    .imagenes img:nth-child(2){
        width: 80px;
        height: 60px;
    }

    .imagenes img:nth-child(3){
        width: 250px;
        height: 50px;
    }

    .imagenes img:nth-child(4){
        width: 200px;
        height: 120px;
    }
}

@media (min-width: 1400px) and (max-width: 1500px){


    nav a{
        width: 20%;
        font-size: 15px;
    }

    nav li{
        width: 170px;
    }

    .contactos {
        width: 40%;
    }

    .redes{
        width: 30%;
    }

    .sobrenosotros{
        position: relative;
        top: -50px;
    }

    .sobrenosotros .centro .contenido{
        width: 80%;
    }

    .final .columna .telefono{
        width: 100%;
    }

    .final .columna .movil{
        width: 100%;
    }

    .final .columna .correo{
        width: 100%;
    }

    .imagenes img{
        margin: 10px;
    }

    .imagenes img:nth-child(1){
        width: 300px;
        height: 70px;
    }

    .imagenes img:nth-child(2){
        width: 80px;
        height: 60px;
    }

    .imagenes img:nth-child(3){
        width: 250px;
        height: 50px;
    }

    .imagenes img:nth-child(4){
        width: 200px;
        height: 120px;
    }
}